<?php
    $conf['db_hostname'] = 'localhost';
    $conf['db_username'] = 'root';
    $conf['db_password'] = '';
    $conf['db_name1'] = 'work';
    $conf['db_name2'] = 'work_temp';
   /* $conf['address'] = ''; */
    
    $workDB = mysql_connect($conf['db_hostname'], $conf['db_username'], $conf['db_password']) or die('Error connecting to mysql');
    $tempDB = mysql_connect($conf['db_hostname'], $conf['db_username'], $conf['db_password']) or die('Error connecting to mysql');
    mysql_select_db($conf['db_name1'], $workDB);
    mysql_select_db($conf['db_name2'], $tempDB);
    
    mysql_set_charset('utf8', $workDB);
    mysql_set_charset('utf8', $tempDB);
    
?>